---
title: prefect-redis
---

## 0.2.6

_Released on October 16, 2025_

**Features**

- Fix race conditions in concurrency lease renewal [#19187](https://github.com/PrefectHQ/prefect/pull/19187) by [@bunchesofdonald](https://github.com/bunchesofdonald)

---

## 0.2.5

_Released on September 19, 2025_

**Enhancements**

- Update task concurrency slot orchestration rules to work with global concurrency limits [#18983](https://github.com/PrefectHQ/prefect/pull/18983) by [@desertaxle](https://github.com/desertaxle)
- Add pagination support to lease storage `read_active_lease_ids` [#18973](https://github.com/PrefectHQ/prefect/pull/18973) by [@zzstoatzz](https://github.com/zzstoatzz)
- Add `list_holders_for_limit` to `ConcurrencyLeaseStorage` protocol [#18970](https://github.com/PrefectHQ/prefect/pull/18970) by [@zzstoatzz](https://github.com/zzstoatzz)
- Add holder parameter to V2 concurrency endpoints [#18887](https://github.com/PrefectHQ/prefect/pull/18887) by [@zzstoatzz](https://github.com/zzstoatzz)
- Removes followers log from Redis `CausalOrdering` implementation [#18870](https://github.com/PrefectHQ/prefect/pull/18870) by [@desertaxle](https://github.com/desertaxle)
- Update lease storage to include holder indexing and lookup via Lua scripts [#18897](https://github.com/PrefectHQ/prefect/pull/18897) by [@zzstoatzz](https://github.com/zzstoatzz)

---

## 0.2.4

*Released on August 14, 2025*

**Enhancements ➕➕**

- Add Redis-based concurrency lease storage implementation by [@desertaxle](https://github.com/desertaxle) in [#18646](https://github.com/PrefectHQ/prefect/pull/18646)
  - New `ConcurrencyLeaseStorage` class for managing task and flow concurrency limits
  - Atomic lease operations using Redis pipelines
  - Support for lease expiration tracking and management

**Bug Fixes 🐞**

- Fix Redis stream trimming blocked by inactive consumer groups by [@zzstoatzz](https://github.com/zzstoatzz) in [#18642](https://github.com/PrefectHQ/prefect/pull/18642)
  - Added idle threshold checking to prevent abandoned consumer groups from blocking stream trimming
  - Automatic cleanup of empty consumer groups with `ephemeral` prefix
  - New `PREFECT_REDIS_MESSAGING_CONSUMER_TRIM_IDLE_THRESHOLD` setting (default: 5 minutes)

**Development & Tidiness 🧹**

- Bump minimum `prefect` version to 3.4.9 by [@desertaxle](https://github.com/desertaxle) in [#18709](https://github.com/PrefectHQ/prefect/pull/18709)